<script setup lang="ts">
import Header from "@/components/Header.vue";
import Footer from "@/components/Footer.vue";
import request from "@/utils/request";
import {onMounted,ref} from "vue";
import Login from "@/components/Login.vue";
import useUserStore from "@/store/modules/user";

let userStore = useUserStore();

onMounted(() => {

})
</script>

<template>
  <Header/>
  <div class="container">
    <div class="content">
      <router-view></router-view>
    </div>
  </div>
  <Footer/>
  <Login :v-show="userStore.isLogin"/>
</template>

<style scoped lang="less">
.container {
  display: flex;
  flex-direction: column;
  align-items: center;

}
.content {
  margin-top: 70px;
  margin-bottom: 20px;
  width: 1200px;
}
</style>
